package com.chuangke.sinotrukbudget.service;

import java.util.List;
import java.util.Map;

import com.chuangke.framework.service.GridDictModelService;
import com.chuangke.sinotrukbudget.model.BudgetControlAccountDept;

/**
 * @author admin
 * @date 2023-01-08
 */
public interface BudgetControlAccountDeptService extends GridDictModelService<BudgetControlAccountDept> {
	
	/**
	 * 根据用户获取管控的数据
	 * @param userId
	 * @return key:科目，value:单位
	 */
	Map<String,List<String>> getBudgetControlByUser(String userId) ;
	
	List<BudgetControlAccountDept> findList(String dept, List<String> controlAccountIdList) ;
	
}
